﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200072B RID: 1835
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetLoginActivityScRsp : IMessage<GetLoginActivityScRsp>, IMessage, IEquatable<GetLoginActivityScRsp>, IDeepCloneable<GetLoginActivityScRsp>, IBufferMessage
	{
		// Token: 0x1700177A RID: 6010
		// (get) Token: 0x06005283 RID: 21123 RVA: 0x000DFA2B File Offset: 0x000DDC2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetLoginActivityScRsp> Parser
		{
			get
			{
				return GetLoginActivityScRsp._parser;
			}
		}

		// Token: 0x1700177B RID: 6011
		// (get) Token: 0x06005284 RID: 21124 RVA: 0x000DFA32 File Offset: 0x000DDC32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetLoginActivityScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700177C RID: 6012
		// (get) Token: 0x06005285 RID: 21125 RVA: 0x000DFA44 File Offset: 0x000DDC44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetLoginActivityScRsp.Descriptor;
			}
		}

		// Token: 0x06005286 RID: 21126 RVA: 0x000DFA4B File Offset: 0x000DDC4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLoginActivityScRsp()
		{
		}

		// Token: 0x06005287 RID: 21127 RVA: 0x000DFA5E File Offset: 0x000DDC5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLoginActivityScRsp(GetLoginActivityScRsp other) : this()
		{
			this.loginActivityList_ = other.loginActivityList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005288 RID: 21128 RVA: 0x000DFA94 File Offset: 0x000DDC94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLoginActivityScRsp Clone()
		{
			return new GetLoginActivityScRsp(this);
		}

		// Token: 0x1700177D RID: 6013
		// (get) Token: 0x06005289 RID: 21129 RVA: 0x000DFA9C File Offset: 0x000DDC9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LoginActivityData> LoginActivityList
		{
			get
			{
				return this.loginActivityList_;
			}
		}

		// Token: 0x1700177E RID: 6014
		// (get) Token: 0x0600528A RID: 21130 RVA: 0x000DFAA4 File Offset: 0x000DDCA4
		// (set) Token: 0x0600528B RID: 21131 RVA: 0x000DFAAC File Offset: 0x000DDCAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600528C RID: 21132 RVA: 0x000DFAB5 File Offset: 0x000DDCB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetLoginActivityScRsp);
		}

		// Token: 0x0600528D RID: 21133 RVA: 0x000DFAC4 File Offset: 0x000DDCC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetLoginActivityScRsp other)
		{
			return other != null && (other == this || (this.loginActivityList_.Equals(other.loginActivityList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600528E RID: 21134 RVA: 0x000DFB14 File Offset: 0x000DDD14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.loginActivityList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600528F RID: 21135 RVA: 0x000DFB61 File Offset: 0x000DDD61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005290 RID: 21136 RVA: 0x000DFB69 File Offset: 0x000DDD69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005291 RID: 21137 RVA: 0x000DFB74 File Offset: 0x000DDD74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.loginActivityList_.WriteTo(ref output, GetLoginActivityScRsp._repeated_loginActivityList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005292 RID: 21138 RVA: 0x000DFBC4 File Offset: 0x000DDDC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.loginActivityList_.CalculateSize(GetLoginActivityScRsp._repeated_loginActivityList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005293 RID: 21139 RVA: 0x000DFC18 File Offset: 0x000DDE18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetLoginActivityScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.loginActivityList_.Add(other.loginActivityList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005294 RID: 21140 RVA: 0x000DFC65 File Offset: 0x000DDE65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005295 RID: 21141 RVA: 0x000DFC70 File Offset: 0x000DDE70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.loginActivityList_.AddEntriesFrom(ref input, GetLoginActivityScRsp._repeated_loginActivityList_codec);
				}
			}
		}

		// Token: 0x0400204B RID: 8267
		private static readonly MessageParser<GetLoginActivityScRsp> _parser = new MessageParser<GetLoginActivityScRsp>(() => new GetLoginActivityScRsp());

		// Token: 0x0400204C RID: 8268
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400204D RID: 8269
		public const int LoginActivityListFieldNumber = 5;

		// Token: 0x0400204E RID: 8270
		private static readonly FieldCodec<LoginActivityData> _repeated_loginActivityList_codec = FieldCodec.ForMessage<LoginActivityData>(42U, LoginActivityData.Parser);

		// Token: 0x0400204F RID: 8271
		private readonly RepeatedField<LoginActivityData> loginActivityList_ = new RepeatedField<LoginActivityData>();

		// Token: 0x04002050 RID: 8272
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04002051 RID: 8273
		private uint retcode_;
	}
}
